﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="admin/adminPublic :: #adminPublic_head">
</head>
<body>
<!--头部-->
<header class="publicHeader" th:replace="admin/adminPublic :: #adminPublic_header">
</header>
<!--时间-->
<section class="publicTime" th:replace="admin/adminPublic :: #adminPublic_time">
</section>
<!--主体内容-->
<section class="publicMian ">
    <!-- 左边栏 -->
    <div class="left" th:replace="admin/adminPublic :: #adminPublic_left"></div>
    <!-- 右边栏 -->
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>医生信息管理页面 >> 医生信息修改页面</span>
        </div>
        <div class="providerAdd">
            <form id="updateForm" th:action="@{/adminDoctorUpdate}" th:method="post">
                <input type="hidden" name="_method" value="put">
                <input th:type="hidden" name="d_id" th:value="${byIdDoctorMap.d_id}">
                <div class="">
                    <label for="d_name">姓名：</label>
                    <input type="text" name="d_name" id="d_name" th:value="${byIdDoctorMap.d_name}" placeholder=""/>
                    <span >*</span>
                </div>
                <div>
                    <label for="d_sex">性别：</label>
                    <input type="text" name="d_sex" id="d_sex" th:value="${byIdDoctorMap.d_sex}" placeholder=""/>
                    <span>请输入 1 或 2,男为1,女为2</span>
                </div>
                <div>
                    <label for="d_age">年龄：</label>
                    <input type="text" name="d_age" id="d_age" th:value="${byIdDoctorMap.d_age}" placeholder=""/>
                    <span>*</span>
                </div>
                <div>
                    <label for="d_department">科室：</label>
                    <input type="text" name="d_department" id="d_department" th:value="${byIdDoctorMap.d_department}" placeholder=""/>
                    <span>*</span>
                </div>
                <div>
                    <label for="d_address">地址：</label>
                    <input type="text" name="d_address" id="d_address" th:value="${byIdDoctorMap.d_address}" placeholder=""/>
                    <span>*</span>
                </div>
                <div>
                    <label for="d_tel">联系电话：</label>
                    <input type="text" name="d_tel" id="d_tel" th:value="${byIdDoctorMap.d_tel}" placeholder=""/>
                    <span>*</span>
                </div>
                <div>
                    <label for="d_password">密码：</label>
                    <input type="text" name="d_password" id="d_password" th:value="${byIdDoctorMap.d_password}">
                    <span>*</span>
                </div>
                <div class="providerAddBtn">
                    <input type="button" value="保存" onclick="$('#updateForm').submit()"/>
                    <input type="button" value="返回" onclick="history.back(-1)"/>
                </div>
            </form>
        </div>

    </div>
</section>

<!-- 底部信息栏 -->
<footer class="footer" th:replace="admin/adminPublic :: #adminPublic_footer">
</footer>

</body>
</html>